package tokens;

/**
 * A token of cells used for the spreadsheet.
 * @author James Santos-Calacat
 * @version 26 February 2010
 */
public class CellToken extends Token {
	
	/**
	 * The CellToken column (e.g. A = 0, AA = 26, etc.)
	 */
	private int column;
	/**
	 * The CellToken row. This should be all numbers.
	 */
	private int row;
	
	
	/**
	 * Sets the row to a specific value.
	 * @param the_row The row.
	 */
	public void setRow(final int the_row)
	{
		row = the_row;
	}
	
	/**
	 * Sets the column to a specific value.
	 * @param the_column The column.
	 */
	public void setColumn(final int the_column)
	{
		column = the_column;
	}
	
	/**
	 * Return the row number.
	 * @return The row.
	 */
	public int getRow()
	{
		return row;
	}
	
	/**
	 * Return the column.
	 * @return The column.
	 */
	public int getColumn()
	{
		return column;
	}
	
}
